!!! 5
%html(lang="de")
  %head
    %meta(charset="utf-8")
    %meta(name="viewport" content="width=device-width, initial-scale=1.0")
    %title= build_site_title
    = csrf_meta_tags
    = stylesheet_link_tag "//bootswatch.com/flatly/bootstrap.min.css", media: "all"
    = stylesheet_link_tag "application", media: "all"
    = favicon_link_tag 'favicon.png', :rel => 'shortcut icon'
  %body
    %header
      = render partial: "logo"
      = render partial: "navbar"
      = render partial: "breadcrumbs"
    %article
      = render :partial => "flash", object: flash
      = yield.force_encoding("UTF-8")
    
    #backtotop
      = fa_icon "arrow-up 4x"

  :javascript
    var holarse = holarse || {}; // Namespace deklarieren
    holarse.current_host = location.protocol + '//' + location.host;

  = javascript_include_tag "application"
  = javascript_include_tag "//togetherjs.com/togetherjs-min.js" if user_wants_to_collaborate? current_user
  = javascript_include_tag "//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"
